<template>
    <view class="container">
      <!-- 全屏显示GIF -->
      <image class="gif-image" src="@/static/img/splash.gif" mode="aspectFill"></image>
    </view>
  </template>
  
  <script>
  export default {
    onLoad() {
      setTimeout(() => {
        uni.switchTab({
          url: '/pages/home/home'
        });
      }, 3000);
    }
  }
  </script>
  
  <style scoped>
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;  /* 让GIF占满整个屏幕 */
    background-color: #fff;
  }
  
  .gif-image {
    width: 100%;
    height: 100%;
  }
  </style>